#!/usr/bin/env python
# coding=utf-8
# This program can calculate matrices
# Written by RAh-XePhON
# http://ToKyo-JuPiTer.Blogspot.com
# any feedback :
# Jimmy09140456@gmail.com

import sys

class main():
    """main class"""
    def simple_change(self):
        """do same simple row change"""
        #Now only can calculate 3x3 matrices
        #make a init matrice
        a = [ 0, 0, 0 ]
        b = [ 0, 0, 0 ]
        c = [ 0, 0, 0 ]
        #input the matrice
        x = raw_input(": ")
        a = x.split()
        x = raw_input(": ")
        b = x.split()
        x = raw_input(": ")
        c = x.split()
        #change string into integer
        for i in range(len(a)):
            a[i] = int( a[i] )
            b[i] = int( b[i] )
            c[i] = int( c[i] )
        print a
        print b
        print c
        #start to calculate the matrice
        x = 1
        while x:
            #read the operation from user
            oper = raw_input(": ")
            if oper.isdigit():
    def main(self):
        """main function in main class"""
        print 'nothing'

if __name__ == "__main__":
    main = main()
    main.simple_change()
    sys.exit(0)
